<!DOCTYPE html	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui" xmlns:sdu="http://sduept.com/jsf/cc">
<h:head>
	<title>后台返回信息</title>
	<style type="text/css">
.value {
	font-weight: bold;
}
</style>
</h:head>
<!-- 
使用方法
在页面中
<p:commandButton value="显示后台返回信息" icon="ui-icon-extlink" actionListener="#{flowDesignController.chooseEquipment()}">
<p:ajax event="dialogReturn"  oncomplete="PF('details').show()" listener="#{flowDesignController.onSelectorChosen}" update="details" />
</p:commandButton>
在自己的业务controller中 添加如下方法
public void chooseEquipment() {
        Map<String,Object> options = new HashMap<String, Object>();
        options.put("resizable", false);
        options.put("draggable", false);
        options.put("modal", true);
        options.put("width", 300);
        options.put("height", 400);
        RequestContext.getCurrentInstance().openDialog("/ui/common/receive_message", options, null);
    }
	public void onSelectorChosen(SelectEvent event) {
		//返回的是List<PersonnelEntityBean>
		List<PersonnelEntityBean> users = (List<PersonnelEntityBean>) event.getObject();
	}
 -->
<h:body>
	<h:form>
		#{request.getParameter("resultMess")}
		<!-- #{faultReasonIdentifyController.resultMess} -->
	</h:form>
</h:body>
</html>
